<html>
<head>
    <title>q$.dump Tester</title>
    <script type="text/javascript">imagePath='../images/';wrroot='../';contextPath='../';bDebug=true</script>
    <script src="../qCore.js" type="text/javascript"></script>
    <script src="../qBase.js" type="text/javascript"></script>
    <style>
    </style>
</head>

<body>
    
    <script>
        bDebug=true
        function bodyLoaded(){
            basicDump_test()
        }
        function basicDump_test(){
            try {
                
                var
                     a=[1,2,3,4,5]
                    ,a2=[[11,12,13,14,15],[21,22,23,24,25],[31,32,33,34,35]]
                    ,a3=[[11,12,13,14,15],[21,22,23,24,25],[31,32,33,34,a2]]
                    ,j={k1: "val1", k2: "val2"}
                    ,j2={j2k1: "j2val1", j2k2: "j2val2", j2k3: j}
                                
                out("a = "+q$.dump(a))
                out("a2:\n"+q$.dump(a2).pad())
                out("a3:\n"+q$.dump(a3).pad())
                out("j:\n"+q$.dump(j).pad())
                out("j2:\n"+q$.dump(j2).pad())
                
                
//                out("\n".cleanForHtml()+"test")
            } catch(e){
                debugErr(e)
            }
        }
        
        function out(sStr){
            _d.body.innerHTML+=("<br><br>"+sStr.cleanForHtml())
        }
        
        
    </script>
    
	<script>
        bConsole=true; __qcOpts={cb:true, t:0, w: 600, h: 500}
	    _SCR_START=" bodyLoaded();"; function __start() {try{if(bConsole){startCons(__qcOpts); _w.consoleLoaded = function consoleLoaded(){ setTimeout(_SCR_START,50) }}else{eval(_SCR_START)}}catch(e){debugErr(e)}};__start()
    </script>
</body>
</html>